<HTML><HEAD><TITLE>lp_get(++ParamName, ?Value)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(eplex)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>lp_get(++ParamName, ?Value)</H1>
Obtain the value of a global parameter.
<DL>
<DT><EM>ParamName</EM></DT>
<DD>Atom
</DD>
<DT><EM>Value</EM></DT>
<DD>Variable, integer, float or atom
</DD>
</DL>
<H2>Description</H2>
    Eplex have a number of global (i.e. not specific to a
    particular problem) parameters. These can be queried using this 
    predicate.
<DL>
    <DT><TT>optimizer</TT>
	<DD>Returns the name of the external solver, currently
	'cplex', 'xpress' or 'osi'.
    <DT><TT>optimizer_version</TT>
	<DD>Returns an integer derived from the version of the
	external solver (for osi, the version is the actual solvers
        used, including any significant third-party packages such as 
        sparse matrix ordering packages required by the barrier solver)
    <DT><TT>presolve</TT>
	<DD>Returns the default presolve setting for solver setup, i.e. the
        presolve setting that a solver state would be given if it was not
        directly specified during setup. The value is 1 if the default is
        to have presolve on, and 0 if off. Note that this is a change from
        previous versions of eplex, where this parameter is directly
        connected to the external solver's own presolve parameter. However,
        the solver may have more than one parameter for presolve settings,
        and these may take on more values than 0 and 1. In such cases,
        eplex will set the parameters(s) to some default value(s)
        corresponding to presolve being off and on. These parameters can be
        accessed directly using the optimizer_param option if required.
    <DT><TT>timeout</TT>
        <DD>Returns the default time-out setting that a solver state would
        be given if it was not directly specified during setup. Value is
        0 if there is no time-out.
    <DT><TT>standalone</TT>
        <DD>Value is `yes', as this is the stand-alone version of Eplex.
        as the external solver is used for keeping the bounds. This option
        allows programmer to write code that needs to distinguish between
        the stand-alone and the non-stand-alone versions of Eplex.
    <DT><TT>optimizer_param(Param)</TT>
        <DD>Get the Value of the external solver's parameter <TT>Param</TT>.
        The exact behaviour and available parameters are dependent on the 
        external solver: if the external solver has only problem specific 
        parameters (e.g. XPRESS-MP 13 and later), this gets the default 
        setting that would be used for new problems; if the external solver
        has global parameters, this gets the global value for the parameter.
        If Param is not a valid parameter for the solver, an out of range 
        error is raised. See lp_get/3 for more details on the parameters. 
</DL>

<H3>Modes and Determinism</H3><UL>
<LI>lp_get(++, -)
<LI>lp_get(++, +)
</UL>
<H2>See Also</H2>
<A HREF="../../lib/eplex/lp_set-2.html">lp_set / 2</A>
</BODY></HTML>
